package com.xuecheng.api.content;

import com.xuecheng.api.content.model.qo.QueryCourseModel;
import com.xuecheng.common.domain.page.PageRequestParams;
import com.xuecheng.common.domain.page.PageVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

import java.util.Map;

/**
 * Created on 2021/04/02/21:14 周五
 *
 * @author Lantin
 */
@Api(tags = "内容-课程审核Api接口")
public interface CourseAuditApi {


    @ApiOperation("分页条件查询课程基本信息 - 运营")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "model", value = "课程基本信息查询条件", required = true, dataType = "课程基础信息查询QO对象", paramType = "body")
    })
    PageVO queryCourseList(PageRequestParams pageRequestParams,
                           QueryCourseModel model);

    @ApiOperation("审核课程基本信息 - 运营")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "params", value = "审核信息参数", required = true, dataType = "Map", paramType = "body")
    })
    void approveCourseBase(Map<String, Object> params);
}
